/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package cn.knet.sp.ncrm.modules.customer.potentialcustomer.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import cn.knet.sp.ncrm.common.persistence.DataEntity;

/**
 * 潜在客户附加表Entity
 * @author gehaiyang
 * @version 2015-08-24
 */
public class PotentialCustomerAddinfo extends DataEntity<PotentialCustomerAddinfo> {
	
	private static final long serialVersionUID = 1L;
	private String potentialCustomerId;		// 主数据ID
	private String corporationScale;		// 公司规模
	private Date corporationCreateDate;		// 公司成立时间
	private String corporationCorporateName;		// 公司法人名称
	private String corporationCorporateSex;		// 公司法人性别
	private String corporationFax;		// 公司传真
	private String corporationIntroduction;		// 公司介绍
	private String corporationBusinessModel;		// 公司经营模式
	private String corporationRegisterFunds;		// 公司注册资金
	private String corporationRegisterAddress;		// 公司注册地址
	private String corporationStaffNum;		// 公司员工人数
	private String corporationQualitySystem;		// 公司质量体系
	private String corporationEnterpriseType;		// 公司企业类型
	
	public PotentialCustomerAddinfo() {
		super();
	}

	public PotentialCustomerAddinfo(String id){
		super(id);
	}

	@Length(min=0, max=32, message="主数据ID长度必须介于 0 和 32 之间")
	public String getPotentialCustomerId() {
		return potentialCustomerId;
	}

	public void setPotentialCustomerId(String potentialCustomerId) {
		this.potentialCustomerId = potentialCustomerId;
	}
	
	@Length(min=0, max=255, message="公司规模长度必须介于 0 和 255 之间")
	public String getCorporationScale() {
		return corporationScale;
	}

	public void setCorporationScale(String corporationScale) {
		this.corporationScale = corporationScale;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getCorporationCreateDate() {
		return corporationCreateDate;
	}

	public void setCorporationCreateDate(Date corporationCreateDate) {
		this.corporationCreateDate = corporationCreateDate;
	}
	
	@Length(min=0, max=100, message="公司法人名称长度必须介于 0 和 100 之间")
	public String getCorporationCorporateName() {
		return corporationCorporateName;
	}

	public void setCorporationCorporateName(String corporationCorporateName) {
		this.corporationCorporateName = corporationCorporateName;
	}
	
	@Length(min=0, max=8, message="公司法人性别长度必须介于 0 和 8 之间")
	public String getCorporationCorporateSex() {
		return corporationCorporateSex;
	}

	public void setCorporationCorporateSex(String corporationCorporateSex) {
		this.corporationCorporateSex = corporationCorporateSex;
	}
	
	@Length(min=0, max=50, message="公司传真长度必须介于 0 和 50 之间")
	public String getCorporationFax() {
		return corporationFax;
	}

	public void setCorporationFax(String corporationFax) {
		this.corporationFax = corporationFax;
	}
	
	@Length(min=0, max=1024, message="公司介绍长度必须介于 0 和 1024 之间")
	public String getCorporationIntroduction() {
		return corporationIntroduction;
	}

	public void setCorporationIntroduction(String corporationIntroduction) {
		this.corporationIntroduction = corporationIntroduction;
	}
	
	@Length(min=0, max=255, message="公司经营模式长度必须介于 0 和 255 之间")
	public String getCorporationBusinessModel() {
		return corporationBusinessModel;
	}

	public void setCorporationBusinessModel(String corporationBusinessModel) {
		this.corporationBusinessModel = corporationBusinessModel;
	}
	
	public String getCorporationRegisterFunds() {
		return corporationRegisterFunds;
	}

	public void setCorporationRegisterFunds(String corporationRegisterFunds) {
		this.corporationRegisterFunds = corporationRegisterFunds;
	}
	
	@Length(min=0, max=255, message="公司注册地址长度必须介于 0 和 255 之间")
	public String getCorporationRegisterAddress() {
		return corporationRegisterAddress;
	}

	public void setCorporationRegisterAddress(String corporationRegisterAddress) {
		this.corporationRegisterAddress = corporationRegisterAddress;
	}
	
	@Length(min=0, max=255, message="公司员工人数长度必须介于 0 和 255 之间")
	public String getCorporationStaffNum() {
		return corporationStaffNum;
	}

	public void setCorporationStaffNum(String corporationStaffNum) {
		this.corporationStaffNum = corporationStaffNum;
	}
	
	@Length(min=0, max=255, message="公司质量体系长度必须介于 0 和 255 之间")
	public String getCorporationQualitySystem() {
		return corporationQualitySystem;
	}

	public void setCorporationQualitySystem(String corporationQualitySystem) {
		this.corporationQualitySystem = corporationQualitySystem;
	}
	
	@Length(min=0, max=255, message="公司企业类型长度必须介于 0 和 255 之间")
	public String getCorporationEnterpriseType() {
		return corporationEnterpriseType;
	}

	public void setCorporationEnterpriseType(String corporationEnterpriseType) {
		this.corporationEnterpriseType = corporationEnterpriseType;
	}
	
}